package com.example.mapper;

import com.example.entity.PetHealth;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author HY
 * @date 2025/2/18
 */
@Mapper
public interface PetHealthMapper {
    Integer countByUserId(Integer userId);

    void edit(PetHealth petHealth);

    void insert(PetHealth petHealth);

    PetHealth selectByUserId(Integer userId);

    List<PetHealth> selectList(PetHealth petHealth);

    PetHealth selectById(Integer id);
}
